package com.obtk.shilipai.service;

import com.obtk.shilipai.dao.AppraiseMapper;
import com.obtk.shilipai.dao.OrderMapper;
import com.obtk.shilipai.entity.Appraise;
import com.obtk.shilipai.entity.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class AppraiseService {
    @Autowired
    private AppraiseMapper appraiseMapper;

    public List<Appraise> getAppraiseByAll(Integer shopId) {
        return appraiseMapper.getAppraiseByAll(shopId);
    }
}
